package com.landtool.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sys")
public class SysTemPropertyConfig {
    private String targetInfoUrl;    //目标信息获取接口
    private String shipBelong; //区划代码
    private String loginUrl; //登陆地址
    private String infoUrl; //新增日志地址
    private Integer pushNum; //历史数据推送频率
    private simulatedData simulatedData = new simulatedData();
    private elasticsearch elasticsearch = new elasticsearch();

    public elasticsearch getElasticsearch() {
        return elasticsearch;
    }

    public void setElasticsearch(elasticsearch elasticsearch) {
        this.elasticsearch = elasticsearch;
    }

    public Integer getPushNum() {
        return pushNum;
    }

    public void setPushNum(Integer pushNum) {
        this.pushNum = pushNum;
    }

    public simulatedData getSimulatedData() {
        return simulatedData;
    }

    public void setSimulatedData(simulatedData simulatedData) {
        this.simulatedData = simulatedData;
    }

    public String getInfoUrl() {
        return infoUrl;
    }

    public void setInfoUrl(String infoUrl) {
        this.infoUrl = infoUrl;
    }

    public String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        this.loginUrl = loginUrl;
    }

    public String getTargetInfoUrl() {
        return targetInfoUrl;
    }

    public void setTargetInfoUrl(String targetInfoUrl) {
        this.targetInfoUrl = targetInfoUrl;
    }

    public String getShipBelong() {
        return shipBelong;
    }

    public void setShipBelong(String shipBelong) {
        this.shipBelong = shipBelong;
    }
}
